package lesson06;

import java.sql.SQLOutput;

public class Test01 {
    static{
        System.out.println("静态初始化块");
    }
    {
        System.out.println("实例初始化块");
    }


    private String name;
    public void show(){
        look();

        System.out.println("show");

    }
    public static void look(){
        Test01 test01 = new Test01();
//        test01.show();
//        System.out.println(name);
        System.out.println("look");
    }

    public static void main(String[] args) {
        Test01.look();
    }
}
